from django.shortcuts import render, HttpResponse

# Create your views here.


def getCaptcha(request):
    #获取请求方法
    print(request.method)
    #获取get传参
    print(request.GET)
    #获取post传参
    print(request.POST)
    # 返回页面的话，是这样写：
    # return render(request, 'index.html')
    return HttpResponse('测试')
 